<template>
  <div class="text">
    vite ts v3模版
    <van-button type="primary" @click="handleOpenToast">主要按钮 </van-button>
    <About />
  </div>
</template>
<script lang="ts" setup>
import { showToast } from 'vant'

const handleOpenToast = () => {
  showToast('toast')
}
</script>
<style lang="scss" scoped>
.text {
  color: blueviolet;
  font-size: 20px;
}
</style>
